package kr.shincooper.funnyhome.model;

import java.util.Date;

/**
 * Funny Home Member의 정보를 담는 클래스.
 * 
 * @author bluemirr5
 *
 */
public class MemberModel {
	private int memberIdx = -1;
	private String memberName = null;
	private String memberId = null;
	private String memberPassword = null;
	private long memberRegDate = 0l;
	private Date memberRegDateObj = null;
	private long memberModDate = 0l;
	private Date memberModDateObj = null;
	
	public Date getMemberRegDateObj() {
		return memberRegDateObj;
	}
	public void setMemberRegDateObj(Date memberRegDateObj) {
		this.memberRegDateObj = memberRegDateObj;
	}
	public Date getMemberModDateObj() {
		return memberModDateObj;
	}
	public void setMemberModDateObj(Date memberModDateObj) {
		this.memberModDateObj = memberModDateObj;
	}
	public int getMemberIdx() {
		return memberIdx;
	}
	public void setMemberIdx(int memberIdx) {
		this.memberIdx = memberIdx;
	}
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	public String getMemberPassword() {
		return memberPassword;
	}
	public void setMemberPassword(String memberPassword) {
		this.memberPassword = memberPassword;
	}
	public long getMemberRegDate() {
		return memberRegDate;
	}
	public void setMemberRegDate(long memberRegDate) {
		this.memberRegDate = memberRegDate;
		setMemberRegDateObj(new Date(memberRegDate));
	}
	public long getMemberModDate() {
		return memberModDate;
	}
	public void setMemberModDate(long memberModDate) {
		this.memberModDate = memberModDate;
		setMemberModDateObj(new Date(memberModDate));
	}
}
